Qus : 1
3 Which of the following is the representation of decimal number (- 147) in 2's compliment notation on a 12-bit machine?
1 111101101100 2 110001001101 3 111101101101 4 000001101101 Go to Discussion
Solution Qus : 2
2 The smallest integer that can be represented by an 8 bit number in 2's complement form is
1 -256 2 -128 3 -127 4 -255 Go to Discussion
Solution Qus : 3
1
The maximum and minimum value represented in signed 16-bit 2s compliment representation are
1
-32768 and 32767
2
0 and 32767
3
0 and 65535
4
-16384 and 16383
Go to Discussion
Solution
Maximum & Minimum in 16-bit 2's Complement
Total Bits: 16
Format: 1 sign bit + 15 magnitude bits
Maximum (positive):
0111 1111 1111 1111(2)
=
+32,767
Minimum (negative):
1000 0000 0000 0000(2)
=
−32,768
✅ Final Answer:
Minimum = −32,768
Maximum = +32,767
Qus : 4
1 If N is a 16-bit signed integer, then 2's complement representation of N is (F87B)16 . The 2's complement representation of 8*N is
1 (C3D8)16 2 (187B)16 3 (F878)16 4 (987B)16 Go to Discussion
Solution Qus : 5
1 In an 8 bit representation of computer system the decimal number 47 has to be subtracted from 38 and the result in binary 2's complement is _________
1 11110111 2 10001001 3 11111001 4 11110001 Go to Discussion
Solution Qus : 6
1 Consider
the following 4- bit binary numbers represented in the 2’s complement form :
1101 and 0100 What would be the result when we add them?
1 0001
and no overflow 2 1001
and an overflow 3 0001
and an overflow 4 1001
and no overflow Go to Discussion
Solution
2's Complement Addition (4-bit)
Given: 1101 and 0100 (in 2’s complement)
Step-by-step:
1101 = −3 (in decimal)
0100 = +4 (in decimal)
Sum = −3 + 4 = +1
+1 in 4-bit 2’s complement = 0001
✅ Final Answer: 0001
Qus : 7
3 Given
that numbers A and B are two 8 bit 2’s complement numbers with A = 11111111,
B = 11111111. Then sum A + B is _________
1 00000010
2 11111100 3 11111110
4 00000000 Go to Discussion
Solution
2's Complement Addition (8-bit)
Given:
A = 11111111 → (−1)
B = 11111111 → (−1)
Sum: −1 + (−1) = −2
Convert −2 to 8-bit 2's complement:
+2 = 00000010
Invert = 11111101
Add 1 = 11111110
✅ Final Answer: 11111110
Qus : 8
2 Let
the given number 11001, 1001 and 111001 be correspond to the 2’s complement representation.
Then with which one of the following decimal number, the given numbers match
1 -6,
-6 and -6, respectively 2 -7,
-7 and -7 respectively 3 -25,
-9 and -57 respectively 4 25,
9 and 57, respectively Go to Discussion
Solution
Binary to Decimal: 2's Complement Conversion
Given binary numbers:
11001 (5-bit)
1001 (4-bit)
111001 (6-bit)
Step-by-step (2's complement):
Each starts with 1 → negative number
Convert by inverting and adding 1
All result in binary 0111 → decimal 7
So final value = −7
✅ Final Answer: Each binary number corresponds to the decimal number −7 .
Qus : 9
4 The maximum and minimum value represented in signed
16 bit 2's complement representations are
1 -16384 and 16383 2 0 and 32767 3 0 and 65535 4 -32768 and 32767 Go to Discussion
Solution Range of 2's complement
− 2 n − 1 to
2 n − 1 + 1
Range for 16 bits = − 2 16 − 1 to 2 16 − 1 + 1
Range for 16 bits = − 2 15 to 2 25 + 1
Range for 16 bits = − 32768 to 32767
Qus : 10
4 The 2's complement representation of the number (–100)10 in an 8 bit computer is
1 10011011 2 01100100 3 11100100 4 10011100 Go to Discussion
Solution Qus : 11
4 Subtract (1010)2 from (1101)2 using first complement
1 (1100)2 2 (0101)2 3 (1001)2 4 (0011)2 Go to Discussion
Solution Qus : 12
2 The range of n-bit signed magnitude representation is
1 0 to 2n - 1 2 - (2n-1 - 1 ) to (2n-1 - 1) 3 - (2n - 1 ) to (2n - 1) 4 0 to 2n-1 - 1 Go to Discussion
Solution [{"qus_id":"4198","year":"2019"},{"qus_id":"4194","year":"2019"},{"qus_id":"4380","year":"2017"},{"qus_id":"4383","year":"2017"},{"qus_id":"11199","year":"2022"},{"qus_id":"11591","year":"2023"},{"qus_id":"4583","year":"2016"},{"qus_id":"4589","year":"2016"},{"qus_id":"4592","year":"2016"},{"qus_id":"11918","year":"2024"},{"qus_id":"11928","year":"2024"},{"qus_id":"11920","year":"2024"}]